<%--
  Created by IntelliJ IDEA.
  User: GL62
  Date: 2019/10/21
  Time: 16:05
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<h1>个人账户</h1>
<form action="/update.do" method="post">
    用户名:<input type="text" name="username" value="${username}"><br>
    密码:<input type="password" name="password" value="${password}"><br>
    <input type="hidden" value="${id}" name="id">
    <input type="submit" value="编辑数据">
    <span>${msg}</span>
</form>
<c:if test="${id==1}"><a href="/queryAll.do">用户管理列表</a></c:if>
</body>
</html>
